package com.sharding.mapper;

import com.sharding.entity.Account;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Desc:
 * Date:    2023/2/26
 *
 * @author WanYangWei
 */
@Mapper
public interface AccountRepository {
    int save(Account account);
    List<Account> selectAll();
    Account selectById(Long id);
}
